package com.cst.student.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cst.student.entity.Student;
import com.cst.student.mapper.StudentMapper;
import com.cst.student.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cst
 * @since 2022-03-18
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {

    @Resource
    StudentMapper studentMapper;

    @Override
    public List<Student> getStudentList(){
       return studentMapper.selectList(null);

    }

}
